<template>
	<view class="page">
		<pageHeader :isReturn="true" :back="2" :isLast="false"></pageHeader>
		<view class="content">
			<uni-file-picker limit="9" :image-styles="itemStyle"></uni-file-picker>
			<view class="line">
				<uni-easyinput :trom="true" :inputBorder="false" placeholder="填写标题，会被更多人喜欢哦…"></uni-easyinput>

			</view>

			<view class="line">
				<uni-easyinput :trom="true" :inputBorder="false" type="textarea" autoHeight placeholder="在这里输入描述">
				</uni-easyinput>
			</view>


			<view class="line">
				<u-cell icon="setting-fill" :border="false" title="添加标签" is-link>
					<view slot="value" class="tag-btn">
						选择合适的标签
					</view>
				</u-cell>
				<!-- 标签列表 -->
			</view>


			<view class="line">
				<u-cell icon="integral-fill" :border="false" title="添加地址" value="" is-link></u-cell>
			</view>

			<view class="flex" style="padding: 10px;">
				<view class="center">
					<view class="img">
						<img src="/static/app/save.png" alt="">
					</view>
					<view class="text">
						保存草稿
					</view>
				</view>
				<view class="btn flex1">
					<u-button style="height: 92rpx;" :hairline="false" type="primary" shape="circle" text="发布"
						color="#FF2A43"></u-button>
				</view>
			</view>

		</view>
	</view>
</template>
<script>
	export default {
		components: {

		},
		props: {

		},
		data() {
			return {
				itemStyle: {
					"height": 120,
					"width": 120,
					"border": {
						"color": "#D1D1D6",
						"radius": "10"
					}
				}
			}
		}
	}
</script>
<style lang="scss" scoped>
	.line {
		border-bottom: 2rpx solid #F4F4F7;
	}

	.tag-btn {
		background: #F4F4F7;
		border-radius: 42rpx 42rpx 42rpx 42rpx;
		font-size: 24rpx;
		font-family: PingFangSC-Regular-, PingFangSC-Regular;
		font-weight: normal;
		color: #232832;
		padding: 5px 20px;
	}

	.center {
		width: 70px;

		.text {
			font-size: 20rpx;
			font-weight: normal;
			color: #787B86;
		}
	}
</style>
